-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix invalid display of enum sub-fields docs #44192
Conversation
Some changes occurred in HTML/CSS. |
(rust_highfive has picked a reviewer for you, use r? to override) |
What version of rustdoc was used to render that "before" example? It looks like it doesn't include #43862. That said, this does include more changes than that. I like the new styling, so i'm inclined to add this anyway. |
No idea. It's an old one which didn't have a JS fix. However, the style was still broken so this PR fixes it. |
Initial screenshot is with Servo's nightly Rust, which is 13d94d5. |
So I guess servo/servo#18325 should fix our issue, given that does a rustup. |
It fixes the issue, yeah, but this CSS change still adds some much-needed padding to the toggle labels. With just that JS change, there's no space between the For example, here's @bors r+ rollup |
📌 Commit bde0071 has been approved by |
…QuietMisdreavus Fix invalid display of enum sub-fields docs Before: <img width="1440" alt="screen shot 2017-08-30 at 23 17 00" src="https://user-images.githubusercontent.com/3050060/29895433-61f2bf8c-8dd9-11e7-83e8-cf1dca878100.png"> After: <img width="1440" alt="screen shot 2017-08-30 at 23 16 48" src="https://user-images.githubusercontent.com/3050060/29895441-66dea042-8dd9-11e7-9576-11b0c770c70b.png"> cc @nox @rust-lang/docs
…QuietMisdreavus Fix invalid display of enum sub-fields docs Before: <img width="1440" alt="screen shot 2017-08-30 at 23 17 00" src="https://user-images.githubusercontent.com/3050060/29895433-61f2bf8c-8dd9-11e7-83e8-cf1dca878100.png"> After: <img width="1440" alt="screen shot 2017-08-30 at 23 16 48" src="https://user-images.githubusercontent.com/3050060/29895441-66dea042-8dd9-11e7-9576-11b0c770c70b.png"> cc @nox @rust-lang/docs
…r=notriddle Remove unused .toggle-label CSS rule It was added in rust-lang#44192 but since we moved to `<details>`, we don't use this rule any more. r? `@notriddle`
Before:
After:
cc @nox @rust-lang/docs